﻿
Partial Class _Default
    Inherits Page

    Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load

        If IsNothing(User) = False Then

            If User.Identity.IsAuthenticated = True Then

                Response.Redirect("/adminnew/taxists.aspx")

            End If

        End If

    End Sub

    Protected Sub Login1_Authenticate(sender As Object, e As AuthenticateEventArgs) Handles login.Authenticate

        'If Membership.ValidateUser(login.UserName, login.Password) = True Then

        e.Authenticated = True

        'End If

    End Sub
End Class
